package mda.type.comp;

import java.util.Date;

public class TimeTableSlot 
{
	private String label;
	
	private String href;
	
	private Date startTime;
	// duration in minutes
	private int duration;
	
	// each location must have a primary key 
	private int locationId = 0;
	
	// this is used to eventually further style this slot, for example free concert 
	private int styleId = 0;

	
//	public TimeTableSlot(String label, Date startTime, int duration) {
//		this(label, startTime, duration, 0);
//	}
//
//
//	public TimeTableSlot(String label, Date startTime, int duration, int locationId) {
//		this(label, startTime, duration, 0, 0);
//	}


	public TimeTableSlot(String label, Date startTime, int duration, int locationId,
			int styleId) {
		super();
		this.label = label;
		this.startTime = startTime;
		this.duration = duration;
		this.locationId = locationId;
		this.styleId = styleId;
	}


	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	
	public String getLabel() {
		return label;
	}


	public void setLabel(String label) {
		this.label = label;
	}


	public String getHref() {
		return href;
	}


	public void setHref(String href) {
		this.href = href;
	}


	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getLocationId() {
		return locationId;
	}

	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}

	public int getStyleId() {
		return styleId;
	}

	public void setStyleId(int styleId) {
		this.styleId = styleId;
	} 
	
	
}
